package com.borrowed.book.book.mapper;

import com.borrowed.book.book.domain.SPayOrder;
import com.borrowed.book.book.domain.SelectPayOrderOutDto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface SPayOrderMapper {
    int insert(SPayOrder record);

    int insertSelective(SPayOrder record);

    void cancelPayOrder(Map map);

    List<SelectPayOrderOutDto>  selectPayOrder(Map map);

    SelectPayOrderOutDto  selectPayOrderById(String orderNo);

    Long selectPayOrderByStatus(Map map);

    void updatePayOrderStatus(Map map);

    void updateOrderTransport(Map map);

    void updatePayOrderEvalute(Map map);

    void updatePayOrderReceiveStatus(Map map);

    void updateOrderIdByOrderno(Map map);
}